-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: custom store implementation #810
refactor: custom store implementation #810
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
SDK binary size reports 📊SDK binary size of this PR
SDK binary size diff report between this PR and the main branch
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
majorly looks good, added some suggestions. We should also bring in the tests, would it be part of next PR?
func _newState(state: Any) | ||
} | ||
|
||
public protocol StoreSubscriber: AnyStoreSubscriber { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might not be needed as we creating the same thing in alias.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep store generic and copy tests, it will be needed
@Shahroz16 Yes, tests will be added later in future PRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
part of MBL-480
Changes
ReSwift
dependency so that pods can work without any workaroundsInAppMessageMiddleware
file as private implementation to avoid naming conflicts in other filesInAppMessageAction
everywhereReSwift
and modified them as needed to maintain the custom store functionality:Assertions
Middleware
Reducer
Store
StoreSubscriber
Subscription
Synchronized